<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<!-- FCL -->
<s:if test="#request.workType==1">
<div id="content" style="line-height:20px;text-align:left;width:300px;">
<s:if test="#request.ifTeamMember">
	订舱代理：<s:property value="work.bookingAgent.nickname"/> (船东：<s:property value="work.carrier.name_zh"/>)<br />
	交接方式： <s:property value="work.cy2cy2.name_zh"/><br />
	运费方式：<s:property value="work.payment2.name_zh"/><br />
	放货方式：<s:property value="work.releaseCargoType2.name_zh"/><br />
	订舱号：<s:property value="work.bookingNumber"/><br />
	提单号：<s:property value="work.blNumber"/><br />
	运输要求：<s:property value="work.deliveryRequirements"/><br />
	运输反馈：<s:property value="work.deliveryFeedback"/><br />
	<hr color="white" size="1"/>
</s:if>
<s:if test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel1"/> \ <s:property value="work.voyNo1"/><br />
	CY截关时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	ETA：<s:date name="work.eta2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:if>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	CY截关时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	CY截关时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	ETA：<s:date name="work.eta2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel1"/> \ <s:property value="work.voyNo1"/><br />
	CY截关时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:if>
<!-- LCL -->
<s:elseif test="#request.workType==2">
<div id="content" style="line-height:20px;text-align:left;width:300px;">
<s:if test="#request.ifTeamMember">
	拼箱公司：<s:property value="work.bookingAgent.nickname"/> (船东：<s:property value="work.carrier.name_zh"/>)<br />
	交接方式： <s:property value="work.cy2cy2.name_zh"/><br />
	运费方式：<s:property value="work.payment2.name_zh"/><br />
	放货方式：<s:property value="work.releaseCargoType2.name_zh"/><br />
	订舱号：<s:property value="work.bookingNumber"/><br />
	提单号：<s:property value="work.blNumber"/><br />
	运输要求：<s:property value="work.deliveryRequirements"/><br />
	运输反馈：<s:property value="work.deliveryFeedback"/><br />
	<hr color="white" size="1"/>
</s:if>
<s:if test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	CFS：<s:property value="work.oceanVessel1"/><br />
	CFS截关时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.etd1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	CFS: <s:property value="work.oceanVessel3"/><br />
	ETA：<s:date name="work.etd2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:if>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	CFS：<s:property value="work.oceanVessel5"/><br />
	CFS截关时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	CFS: <s:property value="work.oceanVessel4"/><br />
	ETA：<s:date name="work.etd1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	CFS：<s:property value="work.oceanVessel5"/><br />
	CFS截关时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.etd1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	CFS: <s:property value="work.oceanVessel3"/><br />
	ETA：<s:date name="work.etd2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	CFS：<s:property value="work.oceanVessel1"/><br />
	CFS截关时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	装货港：<s:property value="work.pointPOL.fullname"/><br />
	船名\航次：<s:property value="work.oceanVessel2"/> \ <s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	卸货港：<s:property value="work.pointPOD.fullname"/><br />
	CFS: <s:property value="work.oceanVessel4"/><br />
	ETA：<s:date name="work.etd1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:elseif>
<!-- AIR -->
<s:elseif test="#request.workType==3">
<div id="content" style="line-height:20px;text-align:left;width:300px;">
<s:if test="#request.ifTeamMember">
	航空代理：<s:property value="work.bookingAgent.nickname"/> (航空公司：<s:property value="work.carrier.name_zh"/>)<br />
	交接方式： <s:property value="work.cy2cy2.name_zh"/><br />
	运费方式：<s:property value="work.payment2.name_zh"/><br />
	空运单号：<s:property value="work.bookingNumber"/><br />
	运输要求：<s:property value="work.deliveryRequirements"/><br />
	运输反馈：<s:property value="work.deliveryFeedback"/><br />
	<hr color="white" size="1"/>
</s:if>
<s:if test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	货站：<s:property value="work.oceanVessel1"/><br />
	货站入仓时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	起飞港：<s:property value="work.pointPOL.fullname"/><br />
	航班：<s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	到达港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	货站:<s:property value="work.oceanVessel3"/><br />
	ETA：<s:date name="work.eta2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:if>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	起飞港：<s:property value="work.pointPOL.fullname"/><br />
	航班：<s:property value="work.voyNo2"/><br />
	货站：<s:property value="work.oceanVessel5"/><br />
	货站入仓时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	到达港：<s:property value="work.pointPOD.fullname"/><br />
	货站:<s:property value="work.oceanVessel4"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id==work.pointPOL.id && work.pointPOD.id!=work.pointDES.id">
	起飞港：<s:property value="work.pointPOL.fullname"/><br />
	航班：<s:property value="work.voyNo2"/><br />
	货站：<s:property value="work.oceanVessel5"/><br />
	货站入仓时间：<s:date name="work.cyClosing2" format="MM/dd"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	到达港：<s:property value="work.pointPOD.fullname"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	货站:<s:property value="work.oceanVessel3"/><br />
	ETA：<s:date name="work.eta2" format="MM/dd"/><br />
	到达时间：<s:date name="work.arrivalTime2" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent2.nickname"/><br />
</s:elseif>
<s:elseif test="work.pointORG.id!=work.pointPOL.id && work.pointPOD.id==work.pointDES.id">
	出发地：<s:property value="work.pointORG.fullname"/><br />
	货站：<s:property value="work.oceanVessel1"/><br />
	货站入仓时间：<s:date name="work.cyClosing1" format="MM/dd"/><br />
	ETD：<s:date name="work.etd1" format="MM/dd"/><br />
	出发时间：<s:date name="work.departureTime1" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	起飞港：<s:property value="work.pointPOL.fullname"/><br />
	航班：<s:property value="work.voyNo2"/><br />
	ETD：<s:date name="work.etd2" format="MM/dd"/><br />
	离港时间：<s:date name="work.departureTime2" format="MM/dd"/><br />
	<hr color="white" size="1"/>
	到达港：<s:property value="work.pointPOD.fullname"/><br />
	货站:<s:property value="work.oceanVessel4"/><br />
	ETA：<s:date name="work.eta1" format="MM/dd"/><br />
	到港时间：<s:date name="work.arrivalTime1" format="MM/dd"/><br />
	放货代理：<s:property value="work.releaseCargoAgent1.nickname"/><br />
</s:elseif>
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:elseif>
<!-- EXPRESS -->
<s:elseif test="#request.workType==4">
<div id="content" style="line-height:20px;text-align:left;width:300px;">
<s:if test="#request.ifTeamMember">
	快递代理：<s:property value="work.expressAgent1.nickname"/> (快递公司：<s:property value="work.expressCarrier.name_zh"/>)<br />
	付款方式：<s:property value="work.expressPayment2"/><br />
	运单号：<s:property value="work.expressBookingNumber"/><br />
	运输要求：<s:property value="work.expressDeliveryRequirements"/><br />
	运输反馈：<s:property value="work.expressDeliveryFeedback"/><br />
	<hr color="white" size="1"/>
</s:if>
	出口国：<s:property value="work.expressExportCountry.countryName"/><br />
	ETD：<s:date name="work.expressETD" format="MM/dd"/><br />
	收件时间：<s:date name="work.expressGetTime" format="MM/dd"/><br />
	收件地址：<s:property value="work.expressAddress1"/><br />
	<hr color="white" size="1"/>
	进口国：<s:property value="work.expressImportCountry.countryName"/><br />
	ETA：<s:date name="work.expressETA" format="MM/dd"/><br />
	送件时间：<s:date name="work.expressPutTime" format="MM/dd"/><br />
	送件地址：<s:property value="work.expressAddress2"/><br />
	送件代理：<s:property value="work.expressAgent2.nickname"/><br />
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:elseif>
<!-- TRUCKING -->
<s:elseif test="#request.workType==5">
<div id="content" style="line-height:20px;text-align:left;width:300px;">
<s:if test="#request.ifTeamMember">
	运输公司：<s:property value="work.carrier.name_zh"/><br />
	订舱号： <s:property value="work.bookingNumber"/><br />
	司机：<s:property value="work.truckingDriver"/><br />
	电话：<s:property value="work.truckingTel"/><br />
	箱型/箱号/封号：<s:property value="work.boxAmount"/><br />
	运输要求：<s:property value="work.deliveryRequirements"/><br/>
	运输反馈：<s:property value="work.deliveryFeedback"/><br />
	<hr color="white" size="1"/>
</s:if>
	出发地：<s:property value="work.pointORG.fullname"/><br />
	ETD：<s:date name="work.truckingETD" format="MM/dd"/><br />
	出发时间：<s:date name="work.truckingTime1" format="MM/dd"/><br />
	收货地址：<s:property value="work.truckingAddress1"/><br />
	<hr color="white" size="1"/>
	目的地：<s:property value="work.pointDES.fullname"/><br />
	ETA：<s:date name="work.truckingETA" format="MM/dd"/><br />
	到达时间：<s:date name="work.truckingTime2" format="MM/dd"/><br />
	送货地址：<s:property value="work.truckingAddress2"/><br />
	放货代理：<s:property value="work.truckingAgent.nickname"/><br/>
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:elseif>
<!-- OTHER -->
<s:else>
<div id="content" style="line-height:20px;text-align:left;width:200px;">
	委托项目：<s:property value="workItem.item.name_zh"/><br/>
	服务商：<s:property value="workItem.service.nickname"/><br/>
	项目开始：<s:date name="workItem.startTime" format="yyyy/MM/dd HH:mm"/><br />
	项目结束：<s:date name="workItem.endTime" format="yyyy/MM/dd HH:mm"/><br />
	项目要求：<s:property value="workItem.serviceRequest"/><br/>
	项目反馈：<s:property value="workItem.serviceFeedback"/><br />
	<s:if test="#request.workFeeList!=null && #request.workFeeList.size!=0">
		<hr color="white" size="1"/>
		<div style="width:100%;text-align:center">应付款</div>
		<s:iterator value="#request.workFeeList">
			<s:property value="fee.name_zh"/>：<s:property value="currency.type"/> <s:property value="quantity"/> x <s:property value="unitPrice"/> = <s:property value="money"/><br/>
		</s:iterator>
	</s:if>
</div>
</s:else>
   
   
   
   
   
   
   
   
   